package com.krtech.wecard.module.mayi.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

@ApiModel(value = "com-krtech-wecard-module-mayi-entity-MayiCdkMode")
@Data
@TableName(value = "mayi_cdk_mode")
public class MayiCdkMode implements Serializable {
    public static final String COL_POSSESS_USER_CODE = "possess_user_code";
    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value = "id")
    private Integer id;

    /**
     * 创建人
     */
    @TableField(value = "CREATED_BY")
    @ApiModelProperty(value = "创建人")
    private String createdBy;

    /**
     * 创建时间
     */
    @TableField(value = "CREATED_TIME")
    @ApiModelProperty(value = "创建时间")
    private Date createdTime;

    /**
     * 更新人
     */
    @TableField(value = "UPDATED_BY")
    @ApiModelProperty(value = "更新人")
    private String updatedBy;

    /**
     * 更新时间
     */
    @TableField(value = "UPDATED_TIME")
    @ApiModelProperty(value = "更新时间")
    private Date updatedTime;

    /**
     * 模版名称
     */
    @TableField(value = "name")
    @ApiModelProperty(value = "模版名称")
    private String name;

    /**
     * cdk截止使用日期
     */
    @TableField(value = "end_time")
    @ApiModelProperty(value = "cdk截止使用日期")
    private Date endTime;

    /**
     * cdk使用量
     */
    @TableField(value = "count")
    @ApiModelProperty(value = "cdk使用量")
    private Long count;

    /**
     * 类型，1:刷量。2:刷点赞
     */
    @TableField(value = "type")
    @ApiModelProperty(value = "类型，1:刷量。2:刷点赞")
    private Integer type;

    private static final long serialVersionUID = 1L;

    public static final String COL_ID = "id";

    public static final String COL_CREATED_BY = "CREATED_BY";

    public static final String COL_CREATED_TIME = "CREATED_TIME";

    public static final String COL_UPDATED_BY = "UPDATED_BY";

    public static final String COL_UPDATED_TIME = "UPDATED_TIME";

    public static final String COL_NAME = "name";

    public static final String COL_END_TIME = "end_time";

    public static final String COL_COUNT = "count";

    public static final String COL_TYPE = "type";
}